/**********************************************************************************
 * Copyright (c) 2012 - 2012,  parallel, All right reserved
 * Title: com.adc.parallel.test  TaskDto.java 
 * @author shen  shenqiao2012@163.com 
 *  2012-11-22 下午5:23:52 
 *********************************************************************************/


package com.adc.parallel.test;

import com.adc.parallel.dto.BaseTaskDto;



public class TaskDto extends BaseTaskDto<TaskData> {

	/** 
	* @param uuid
	* @param taskData    
	 */
	public TaskDto(String uuid, TaskData taskData) {
		super(uuid, taskData);
		// TODO Auto-generated constructor stub
	}

	/**
	 * Description:  
	 * @see com.adc.parallel.dto.BaseTaskDto#taskDataToString() 
	 */
	@Override
	public String taskDataToString() {
		// TODO Auto-generated method stub
		if (super.getTaskData()!=null) {
			return super.getTaskData().getName()+","+super.getTaskData().getAge();
		}
		return null;
	}

}
